
<?php 

// print_r($this->Session->read("conditions"));

?>


              <table class="table table-condensed table-bordered table-hover table-striped">
                <thead>
                  <tr>
				        <th></th>
					        <th>Id</th>
					        <th>Descrizione</th>
				        <th></th>
                  </tr>
                </thead>
                <tbody>
					<?php foreach ($groups as $group): ?> 
					<tr>
						<td><a href='/<?php echo AppController::APP_NAME?>/Groups/edit/<?php echo $group['Group']['id'];?>' ><i class='icon-pencil'></i></a></td>
						<td><?php echo $group['Group']['id']; ?></td> 
						<td><?php echo $group['Group']['descrizione']; ?></td> 
						<td><a href='/<?php echo AppController::APP_NAME?>/Groups/delete/<?php echo $group['Group']['id'];?>' ><i class="icon-trash"></i></a></td>
					</tr>
					<?php endforeach; ?>
					<?php unset($groups); ?> 
					<tr>
						<td><a href='/<?php echo AppController::APP_NAME?>/Groups/add' ><i class='icon-plus'></i></a></td>
					</tr>					
                </tbody>
              </table>



